package util.android.gps;


import android.content.Context;
import android.location.LocationManager;

//http://www.elandroidelibre.com/2010/08/aprendiendo-android-v-inicializacion-a-la-api-del-gps.html

public class LocationUtil {	
	

	public static void setCoordenadas(final Context context, final SeteadorCoordenadas seteador) {		
		
		LocationManager locationManager = (LocationManager)context.getSystemService(Context.LOCATION_SERVICE);
		final MiLocationManager manager = new MiLocationManager(context,locationManager);
		manager.registrarLocationListener(seteador);
		
	}
	
	
	
}
